package com.furongji.education.service;

import com.furongji.education.domain.dto.UserDto;
import com.furongji.education.domain.po.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author furongji
 * @since 2025-05-25
 */
public interface UserService extends IService<User> {

    String login(User user);

    String loginEmail(UserDto userDto);

    String register(UserDto userDto);

    User getUserInfo(String token);

    Integer registerCount(String date);

    Integer loginCount(String date);
}
